 $(document).ready(function() {
 	var cookie=  $.AMUI.utils.cookie;
	var time=new Date();
	time=new Date(time.valueOf() + 2*60*1000);
	var sessionId=(cookie.get("sessionId")==null)?"":cookie.get("sessionId");
	cookie.set("sessionId",sessionId,time,"/");
	var factoryid=(cookie.get("factoryid")==null)?"":cookie.get("factoryid");
	cookie.set("factoryid",factoryid,time,"/");
 })